package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhuiZhu
 * @since 2023-03-24
 */
@TableName("t_price_data")
@ApiModel(value = "PriceData对象", description = "")
public class PriceData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("价格编号")
    @TableId(value = "price_id", type = IdType.AUTO)
    private Integer priceId;

    @ApiModelProperty("商品名称")
    private String goods;

    @ApiModelProperty("商品编号")
    private String goodsId;

    @ApiModelProperty("日期")
    private LocalDate date;

    @ApiModelProperty("价格（元）")
    private Double price;

    @ApiModelProperty("市、县")
    private String county;

    @ApiModelProperty("供应商")
    private String provider;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("状态")
    private String status;

    public Integer getPriceId() {
        return priceId;
    }

    public void setPriceId(Integer priceId) {
        this.priceId = priceId;
    }

    public String getGoods() {
        return goods;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "PriceData{" +
                "priceId=" + priceId +
                ", goods='" + goods + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", date=" + date +
                ", price=" + price +
                ", county='" + county + '\'' +
                ", provider='" + provider + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
